package cc.rboot.repeat.annotation;

import cc.rboot.repeat.validator.DefaultRepeatCommitValidator;
import cc.rboot.repeat.core.IRepeatCommitValidator;

import java.lang.annotation.*;

@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface RepeatCommitValidator {
    Class<? extends IRepeatCommitValidator> validator() default DefaultRepeatCommitValidator.class;
}
